package com.bestcem.xm.survey.mq.receiver.biz;

import com.alibaba.fastjson.JSONObject;
import com.bestcem.xm.survey.mq.dto.CreateColumnsDto;
import com.bestcem.xm.survey.mq.dto.CreateQuotaDto;
import org.springframework.messaging.support.GenericMessage;

import java.util.function.Consumer;

public interface SurveyConsumers {

    Consumer<GenericMessage<JSONObject>> clearRspdPropCache();

    Consumer<GenericMessage<CreateColumnsDto>> surveyCreateColumns();

    Consumer<GenericMessage<CreateQuotaDto>> surveyAddQuote();

    Consumer<GenericMessage<CreateQuotaDto>> surveyPopQuote();

    Consumer<GenericMessage<JSONObject>> surveyRespondentStatusChanged();

    Consumer<GenericMessage<JSONObject>> respondentNumSubmit();

    Consumer<GenericMessage<JSONObject>> createFootprint();
}
